mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
Merge branch 'main' into pr/867
This commit is contained in:
@@ -13,6 +13,7 @@ RequestModel getRequestModelFromHistoryModel(HistoryRequestModel model) {
|
||||
name: model.metaData.name,
|
||||
responseStatus: model.httpResponseModel.statusCode,
|
||||
message: kResponseCodeReasons[model.httpResponseModel.statusCode],
|
||||
aiRequestModel: model.aiRequestModel,
|
||||
httpRequestModel: model.httpRequestModel,
|
||||
httpResponseModel: model.httpResponseModel,
|
||||
);
|
||||
|
||||
@@ -36,6 +36,7 @@ Color getAPIColor(
|
||||
method,
|
||||
),
|
||||
APIType.graphql => kColorGQL,
|
||||
APIType.ai => Colors.amber,
|
||||
};
|
||||
if (brightness == Brightness.dark) {
|
||||
col = col.toDark;
|
||||
|
||||
Reference in New Issue
Block a user