Skip to content

Commit

Permalink
GenericResponse Update (1.4.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPlayz0 committed May 31, 2024
1 parent 9ab1071 commit c26eec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dapir",
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"description": "An api wrapper",
"source": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/documentation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class Documentation {

this.addSchema("GenericResponse", {
type: "object",
required: ["success", "code", "status"],
required: ["error", "code", "status", "message"],
properties: {
error: {
type: "boolean",
Expand Down

0 comments on commit c26eec2

Please sign in to comment.