Fix batch insert error
[platform/core/multimedia/media-server.git] / lib / media-util-register.c
index cf9eb40..dd731bd 100644 (file)
@@ -232,7 +232,6 @@ static int __media_db_request_update_async(ms_msg_type_e msg_type,
        g_autofree gchar *request_path = NULL;
 
        MSAPI_RETVM_IF(!path || strlen(path) == 0, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path");
-       MSAPI_RETVM_IF(!storage_id || strlen(storage_id) == 0, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid storage_id");
 
        request_path = g_canonicalize_filename(path, NULL);
        MSAPI_DBG_SLOG("trimmed path[%s]", request_path);