Skip to content

Commit

Permalink
return string
Browse files Browse the repository at this point in the history
  • Loading branch information
nivv committed Jan 26, 2023
1 parent c621588 commit 7782658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Api/Fabriq/BlockTypeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public function destroy(int $id): JsonResponse
$blockType = BlockType::findOrFail($id);
$blockType->delete();

return $this->respondWithSuccess(['Block type has been deleted']);
return $this->respondWithSuccess('Block type has been deleted');
}
}

0 comments on commit 7782658

Please sign in to comment.