mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-01 12:14:10 -04:00
Moved creating queue name to model
This commit is contained in:
@@ -28,9 +28,6 @@ def create_service():
|
||||
# I believe service is already added to the session but just needs a
|
||||
# db.session.commit
|
||||
try:
|
||||
# add service name to here or in dao?
|
||||
import uuid
|
||||
service.queue_name = uuid.uuid4()
|
||||
save_model_service(service)
|
||||
except DAOException as e:
|
||||
return jsonify(result="error", message=str(e)), 400
|
||||
|
||||
Reference in New Issue
Block a user