Skip to content

Commit

Permalink
[#186] Deleted logs in createRecord function
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan authored and blcham committed Jul 20, 2024
1 parent e513dad commit 15397e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/actions/RecordActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ export function createRecord(record) {
try {
const userResponse = await axiosBackend.get(`${API_URL}/rest/users/current`);
const user = userResponse.data;
console.log(userResponse);
console.log(user);
if (user.institution == null) {
const institutionError = new Error("User is not assigned to any institution");
institutionError.response = { data: { messageId: "error.no-institution" } }; // Custom messageId for this specific error
Expand Down

0 comments on commit 15397e2

Please sign in to comment.