Merge pull request #228 from expsa/fix_api_web

fix 001
This commit is contained in:
AbuzarExp 2024-07-16 16:13:11 +03:00 committed by GitHub
commit fda7a61674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class PermissionController(http.Controller):
"state": validator.get_state_name(permission, permission.state),
"state_name": permission.state,
"reason_msg": permission.reason or "",
"reason_msg": permission.mission_purpose or "",
"mission_purpose": permission.mission_purpose or "",
"attachment": self.get_attchment(permission),
}
return http_helper.response(message="Permission Created Successfully", data={'permission': [data]})