Skip to content
Snippets Groups Projects
Commit 9af9591a authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix check for shortId availability

parent f7f62ea9
No related merge requests found
......@@ -324,7 +324,11 @@ public class RoomServiceImpl extends DefaultEntityServiceImpl<Room> implements R
@Override
public boolean isShortIdAvailable(final String shortId) {
return getByShortId(shortId) == null;
try {
return getByShortId(shortId) == null;
} catch (final NotFoundException e) {
return true;
}
}
@Override
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment